<?php /* @var $this admin layout */ ?>
<!DOCTYPE html>
<head>
<meta charset="utf-8">
	<!-- blueprint CSS framework -->
<!--	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/screen.css" media="screen, projection" />
	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/print.css" media="print" />-->
	<!--[if lt IE 8]>
	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/ie.css" media="screen, projection" />
	<![endif]-->

	<!--<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/main.css" />-->
	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/form.css" />
	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/admin.css" />

	<title><?php echo CHtml::encode($this->pageTitle); ?></title>
</head>

<body>

<header>
	<figure class="logo"><a href="" /></a></figure>
	<div class="top-menu">
		<div class="top-menu-user">
			<a href="">退出管理</a>
		</div>
		<nav>
			<ul>
            	<li>
                <li><a href="">网站首页</a></li>
				<li><a href="">管理首页</a></li>
                <li><a href="">清理缓存</a></li>
				<li><a href="">使用手册</a></li>
			</ul>
		</nav>
	</div>
</header><!-- header -->

<section class="content">
	<!-- sider -->
	<div class="side" id="navigation">
		<h2>管理菜单</h2>		
		<dl class="on">
			<dt><a href="">管理员管理</a></dt>
			<dd><a href="<?php echo $this->createUrl('/manager/manager/create');?>">添加管理员</a></dd>
			<dd><a href="<?php echo $this->createUrl('/manager/manager/admin');?>">管理员列表</a></dd>
		</dl>
		<dl class="on">
			<dt><a href="">内容管理</a></dt>
			<dd><a href="">资讯管理</a></dd>
			<dd><a href="">广告管理</a></dd>
			<dd><a href="">友情链接</a></dd>
			<dd><a href="">关于我们</a></dd>
			<dd><a href="">联系我们</a></dd>
		</dl>
		<dl class="on">
			<dt><a href="">网站管理</a></dt>
			<dd><a href="">网站信息</a></dd>
			<dd><a href="">帐户管理</a></dd>
			<dd><a href="">后台设置</a></dd>
			<dd><a href="">在线升级</a></dd>

		</dl>
		<dl class="on">
			<dt><a href="">网站定制</a></dt>
			<dd><a href="">页面管理</a></dd>
		</dl>
	
	</div>
	<div class="mainwrap">
	    <?php if(isset($this->breadcrumbs)):?>
			<?php $this->widget('zii.widgets.CBreadcrumbs', array(
				'links'=>$this->breadcrumbs,
			)); ?><!-- breadcrumbs -->
		<?php endif?>
	<div class="maincont">
		<div class="maincontwrap">
			<?php echo $content; ?>
		</div>
	</div>
	
	</div>
</section>
	<script type="text/javascript">
	$(function(){
		$('.side dl dt').click(function(){
			var sign=$(this).parent().attr('class');
			if(sign == 'on'){
				$(this).parent().attr('class', 'off');
			}else{
				$(this).parent().attr('class', 'on');
			}
			return false;
		});
	});
	</script>
</body>

